#include "CreateWindow.Game.h"

using namespace BlackDeath;
using namespace BlackDeath::Core;
using namespace BlackDeath::Graphics;
using namespace BlackDeath::Exception;

namespace CreateWindow
{
	#pragma region Properties
	bool CCreateWindow::Get_IsLoaded()
	{
		return true;
	}
	#pragma endregion

	#pragma region Constructors
	CCreateWindow::CCreateWindow()
		: CGame()
	{
	}
	#pragma endregion

	#pragma region Methods
	void CCreateWindow::LoadGame()
	{
		
	}
	#pragma endregion

	#pragma region Overriden Methods
	void CCreateWindow::Initialize()
	{
		srand((unsigned)time(0));
		this->Get_GraphicsDevice()->SetResolution(1280, 960);
		this->Get_GraphicsDevice()->SetViewport(0, 0, 1280, 960, 0.0f, 1.0f);

		CGame::Initialize();
	}

	void CCreateWindow::LoadContent()
	{
		CGame::LoadContent();
	}

	void CCreateWindow::Update(CGameTime* gameTime)
	{
		CGame::Update(gameTime);
	}

	void CCreateWindow::Draw(CGameTime* gameTime)
	{
		this->Get_GraphicsDevice()->Clear(D3DXCOLOR(1,0,1,1));

		CGame::Draw(gameTime);
	}
}